import http from '../utils/request.js'

// 获取医学知识列表 name pageNum pageSize
export const  MedicalList = (params) => {
  return http.get('/app/medical/findMedeical', {params})
}

// 获取医学知识列表详情 mid
export const MedicalDetails = (params) => {
  return http.get('/app/medical/findOneMedical', {params})
}

// 更新医学常识
export const MedicalUpdate = (params ) => {
	return http.put('/app/medical/updateMedical', params)
}


// 获取红医故事列表 name pageNum pageSize
 export const  MedicalListStory  = (params) => {
   return http.get('/app/story/findStory', {params})
 }
 
 // 获取红医故事列表详情 storyId
export const MedicalDetailsStory  = (params) => {
   return http.get('/app/story/findOneStory', {params})
}

// 更新红医故事
export const historyUpdate = (params) => {
	return http.put('/app/story/updateStory', params)
}
  

